#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;
using Agresso.Interface.Layer.Domain;
using System.Web;
using Agresso.Interface.Layer.Service;
using System.Collections;

#endregion

namespace Agresso.Interface.Layer.Web
{
    public partial class CompasCrewPayrollDetailForm : Form
    {
        AGRESO_SYNCService m_AGRESO_SYNCService = new AGRESO_SYNCService();


        public CompasCrewPayrollDetailForm(i_AGRESO_SYNC agr)
        {
            InitializeComponent();
            AGRESO_SYNC a = m_AGRESO_SYNCService.GetByID(agr.AS_ID);
            AS_ID.Text = a.AS_ID.ToString();
            AS_ACCOUNT.Text = a.AS_ACCOUNT;
            AS_ADD_BY.Text = a.AS_ADD_BY.ToString();
            AS_ADD_DATE.Text = a.AS_ADD_DATE.ToString();
            AS_AMOUNT.Text = a.AS_AMOUNT.ToString();
            AS_COMPANY_CODE.Text = a.AS_COMPANY_CODE.ToString();
            AS_COMPANY_NAME.Text = a.AS_COMPANY_NAME;
            AS_CURRENCY.Text = a.AS_CURRENCY;
            AS_DESCRIPTION.Text = a.AS_DESCRIPTION;
            AS_IS_EXPORTED.Text = a.AS_IS_EXPORTED.ToString();
            AS_MONTH.Text = a.AS_MONTH.ToString();
            AS_VESSEL_ACC_CODE.Text = a.AS_VESSEL_ACC_CODE;
            AS_VESSEL_CODE.Text = a.AS_VESSEL_CODE;
            AS_VESSEL_NAME.Text = a.AS_VESSEL_NAME;
            AS_YEAR.Text = a.AS_YEAR.ToString();
        }

        private void buttonExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}